package com.jwds.digital.bios.business.core.infrastructure.dto.belt;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;


/**
 * 路线作业实绩主表
 *
 * @author 林柏云
 * @date 2024-11-28
 */
@Data
@ApiModel(value="BeltRouteTaskMain请求对象")
public class BeltRouteTaskMainReqDTO {

  @ApiModelProperty(value = "主键ID")
  private Long id;

  @ApiModelProperty(value = "路线code")
  private String routeCode;

  @ApiModelProperty(value = "路线唯一标志")
  private Short flowNo;


  @ApiModelProperty(value = "任务id")
  private Long taskId;

  @ApiModelProperty(value = "任务类型")
  private String taskType;


  @ApiModelProperty(value = "实绩开始时间")
  private LocalDateTime startTime;


  @ApiModelProperty(value = "实绩结束时间")
  private LocalDateTime endTime;


  @ApiModelProperty(value = "运行时长")
  private BigDecimal runningTime;


  @ApiModelProperty(value = "负载运行时长")
  private BigDecimal loadRunningTime;


  @ApiModelProperty(value = "空载运行时长")
  private BigDecimal unLoadRunningTime;


  @ApiModelProperty(value = "启动空载运行时长")
  private BigDecimal startupNoLoadDuration;


  @ApiModelProperty(value = "运行空载运行时长")
  private BigDecimal runningNoLoadDuration;


  @ApiModelProperty(value = "停止空载运行时长")
  private BigDecimal shutdownNoLoadDuration;


  @ApiModelProperty(value = "运行负载运行时长")
  private BigDecimal runningLoadDuration;


  @ApiModelProperty(value = "负载比率")
  private BigDecimal loadRatio;


  @ApiModelProperty(value = "运输量")
  private BigDecimal totalTransport;


  @ApiModelProperty(value = "运输效率（t/h）")
  private BigDecimal transportEfficiency;


  @ApiModelProperty(value = "平均负载率")
  private BigDecimal avgAllLoadRate;


  @ApiModelProperty(value = "平均负载负载率")
  private BigDecimal avgLoadRate;


  @ApiModelProperty(value = "平均空载负载率")
  private BigDecimal avgUnLoadRate;


  @ApiModelProperty(value = "总耗电量")
  private BigDecimal totalPowerConsumption;


  @ApiModelProperty(value = "负载耗电量")
  private BigDecimal loadPowerConsumption;


  @ApiModelProperty(value = "空载耗电量")
  private BigDecimal unLoadPowerConsumption;


  @ApiModelProperty(value = "负载耗电量占比")
  private BigDecimal loadPowerConsumptionRate;


  @ApiModelProperty(value = "空载耗电量占比")
  private BigDecimal unLoadPowerConsumptionRate;


  @ApiModelProperty(value = "启动空载运行电耗")
  private BigDecimal startupNoLoadPower;


  @ApiModelProperty(value = "运行空载运行电耗")
  private BigDecimal runningNoLoadPower;


  @ApiModelProperty(value = "停止空载运行电耗")
  private BigDecimal shutdownNoLoadPower;


  @ApiModelProperty(value = "运行负载运行电耗")
  private BigDecimal runningLoadPower;


  @ApiModelProperty(value = "运行效率")
  private BigDecimal workEfficiency;


  @ApiModelProperty(value = "吨料耗电量")
  private BigDecimal tonPowerConsumption;


  @ApiModelProperty(value = "负载均衡")
  private BigDecimal loadBalance;


  @ApiModelProperty(value = "料流均衡")
  private BigDecimal trafficBalance;


  @ApiModelProperty(value = "平均阻力")
  private BigDecimal avgResistance;


  @ApiModelProperty(value = "能耗效率评价")
  private String energyEfficiency;


  @ApiModelProperty(value = "机械分数")
  private Integer machineScore;


  @ApiModelProperty(value = "电气分数")
  private Integer electricScore;


  @ApiModelProperty(value = "五防分数")
  private Integer preventScore;


  @ApiModelProperty(value = "尖峰耗电量")
  private BigDecimal spikePowerConsumption;


  @ApiModelProperty(value = "峰值耗电量")
  private BigDecimal peakPowerConsumption;


  @ApiModelProperty(value = "谷值耗电量")
  private BigDecimal valleyPowerConsumption;


  @ApiModelProperty(value = "第一次料流有料信号时间")
  private LocalDateTime firstMaterialFlowTime;


  @ApiModelProperty(value = "最后料流无料信号时间")
  private LocalDateTime lastMaterialFlowTime;


  @ApiModelProperty(value = "创建时间")
  private LocalDateTime createTime;


  @ApiModelProperty(value = "更新时间")
  private LocalDateTime modifyTime;


  @ApiModelProperty(value = "创建人")
  private String createUser;


  @ApiModelProperty(value = "更新人")
  private String modifyUser;


  @ApiModelProperty(value = "逻辑删除:0-未删除,1-已删除")
  private Integer isDeleted;


  @ApiModelProperty(value = "平值耗电量")
  private BigDecimal flatPowerConsumption;

  /***********扩展字段***************/

  @ApiModelProperty(value = "区间开始时间")
  private LocalDateTime initiateTime;

  @ApiModelProperty(value = "区间结束时间")
  private LocalDateTime finishTime;

}
